﻿using System;
using System.Data;

namespace MyBasicLib
{
    [Serializable]
    public class DbCommandException : Exception
    {
        public IDbCommand DbCommand { get;   set; }
        public DbCommandException()
        {
        }

        public DbCommandException(string message)
            : base(message)
        {
        }

        public DbCommandException(string message, Exception innerException)
            : base(message, innerException)
        {
        } 
    }
    [Serializable]
    public class BasicLibException : Exception
    {
        public BasicLibException()
        { 
        }

        public BasicLibException(string message) : base(message)
        {
        }

        public BasicLibException(string message, Exception innerException) : base(message, innerException)
        {
        }
    }
}